/** Buttom 默认*/
.pear-btn {
  display: inline-block;
  line-height: 38px;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  transition: 0.1s;
  font-weight: 500;
  padding: 0 18px;
  height: 38px;
  font-size: 14px;
  background-color: white;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  -webkit-transition: 0.1s;
  -moz-transition: 0.1s;
  -ms-transition: 0.1s;
  -o-transition: 0.1s;
}

.pear-btn i {
  font-size: 13px;
}

.pear-btn:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

.pear-btn-danger,
.pear-btn-warming,
.pear-btn-success,
.pear-btn-primary {
  color: #fff !important;
}
/** Button 主题 */
.pear-btn-primary {
  background-color: #2d8cf0 !important;
  border: #2d8cf0;
}
.pear-btn-danger {
  background-color: #f56c6c !important;
  border: #f56c6c;
}
.pear-btn-warming {
  background-color: #f6ad55 !important;
  border: #f6ad55;
}
.pear-btn-success {
  background-color: #5fb878 !important;
  border: #5fb878;
}

.pear-btn[round] {
  border-radius: 50px;
}

.pear-btn-primary[plain] {
  color: #409eff !important;
  background: #ecf5ff 10% !important;
  border-color: #b3d8ff !important;
}

.pear-btn-primary[plain]:hover {
  color: #fff !important;
  background-color: #2d8cf0 !important;
}

.pear-btn-success[plain] {
  color: #67c23a !important;
  background: #f0f9eb !important;
  border-color: #c2e7b0 !important;
}

.pear-btn-success[plain]:hover {
  color: white !important;
  background-color: #67c23a !important;
}

.pear-btn-warming[plain] {
  color: #e6a23c !important;
  background: #fdf6ec !important;
  border-color: #f5dab1 !important;
}

.pear-btn-warming[plain]:hover {
  color: white !important;
  background-color: #e6a23c !important;
}

.pear-btn-danger[plain] {
  color: #f56c6c !important;
  background: #fef0f0 !important;
  border-color: #fbc4c4 !important;
}

.pear-btn-danger[plain]:hover {
  color: white !important;
  background-color: #f56c6c !important;
}

/** Button Group */
.pear-btn-group {
  display: inline-block;
  vertical-align: middle;
}

.pear-btn-group .pear-btn {
  float: left;
  position: relative;
  border-radius: 0px;
  margin-left: 1px;
  margin-right: 1px;
}

.pear-btn-md {
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
}

.pear-btn-group .pear-btn:first-child {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.pear-btn-group .pear-btn:last-child {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

.pear-btn-group .pear-btn[round]:first-child {
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
}

.pear-btn-group .pear-btn[round]:last-child {
  border-top-right-radius: 50px !important;
  border-bottom-right-radius: 50px !important;
}

/** Button Size*/
.pear-btn-sm {
  height: 32px;
  line-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.pear-btn-xs {
  height: 28px;
  line-height: 28px;
  padding: 0 8px;
  font-size: 12px;
}

.pear-btn-md {
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
}

.pear-btn-lg {
  height: 44px;
  line-height: 44px;
  padding: 0 25px;
  font-size: 16px;
}
